package samsung.entities;

import samsung.other.Position;

/**
 * Class need to construct <code>City</code> object.
 *
 * @author Vitaliy Muzalevskiy
 */
public class CityBuilder {
    
    /**
     * Method realized city construction with defined parameters.
     *
     * @param position - <code>Position</code> value that city takes in current
     *      area.
     * @param nativeCountryName - name of country for which current city belong.
     * @return - constructed <code>City</code> object.
     */
    public City buildCity(Position position, String nativeCountryName){
        City result = new City(position, nativeCountryName);       
        return result;
    }
    
}
